-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(server): support selfhost licenses #8947
base: canary
Are you sure you want to change the base?
Conversation
Your org has enabled the Graphite merge queue for merging into canaryAdd the label “merge” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge. Or use the label “hotfix” to add to the merge queue as a hot fix. You must have a Graphite account and log in to Graphite in order to use the merge queue. Sign up using this link. |
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
☁️ Nx Cloud ReportCI is running/has finished running commands for commit 957a785. As they complete they will appear below. Click to see the status, the terminal output, and the build insights. 📂 See all runs for this CI Pipeline Execution ✅ Successfully ran 6 targets
Sent with 💌 from NxCloud. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## canary #8947 +/- ##
==========================================
- Coverage 52.95% 52.50% -0.46%
==========================================
Files 2167 2172 +5
Lines 97446 98654 +1208
Branches 16631 16620 -11
==========================================
+ Hits 51606 51795 +189
- Misses 44445 45447 +1002
- Partials 1395 1412 +17
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
35b17aa
to
c56895a
Compare
c56895a
to
82be3b9
Compare
7003581
to
38aaffa
Compare
packages/backend/server/src/plugins/payment/license/controller.ts
Outdated
Show resolved
Hide resolved
82be3b9
to
15db7ca
Compare
15db7ca
to
a29fb66
Compare
38aaffa
to
d2b66cf
Compare
a29fb66
to
17af454
Compare
d2b66cf
to
a691e37
Compare
a691e37
to
849affe
Compare
e64d845
to
e6b3504
Compare
9777df8
to
c18107e
Compare
e6b3504
to
9d98f44
Compare
c18107e
to
9780ab6
Compare
959abb4
to
957a785
Compare
} | ||
|
||
const res = await this.fetch<License>( | ||
`/api/team/licenses/${license}/activate`, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/api/team/licenses/
base can move to fetch
// TODO(@forehalo): we need a way to get the default quota for workspace | ||
if (count > 10) { | ||
throw new WorkspaceMembersExceedLimitToDowngrade({ limit: 10 }); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
QuotaService.getQuota()
957a785
to
8a8d3c4
Compare
39c4981
to
0284dbc
Compare
0284dbc
to
fe32240
Compare
No description provided.